﻿#include "OperAbstractLoad.h"
#include "FITK_Component/FITKAcousticsPhysics/FITKAcousticsPhysics.h"


namespace EventOper
{
    OperAbstractLoad::OperAbstractLoad()
    {
        //获取载荷管理器
        Acoustics::FITKAcousticsPhysics* phy = Acoustics::FITKAcousticsPhysics::GetAcousticsPhysicsFromFrame();
        if (phy == nullptr) return;
        _loadMgr = phy->getFITKAcousticsLoadManager();
        _specMgr = phy->getFITKAcousticsSpectraManager();
    }

    OperAbstractLoad::~OperAbstractLoad()
    {
        //虚函数
    }

    void OperAbstractLoad::editLoad(const int loadID)
    {
        //虚函数
    }

    void OperAbstractLoad::removeLoad(const int loadID)
    {
        //虚函数
    }

    void OperAbstractLoad::setAttribute(const QString & name, const QString & currentText, const int attrIndex, const QList<int>& loadIDs)
    {
        //虚函数
    }
}
